package com.ruoyi.wbs.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 承包商对象 contractor
 * 
 * @author zhaogang
 * @date 2024-07-28
 */
public class Contractor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 承包商主键 */
    private Long contractorId;

    /** 项目主键 */
    @Excel(name = "项目主键")
    private Long projectId;

    /** 承包商名称 */
    @Excel(name = "承包商名称")
    private String contractorName;

    /** 承包金额 */
    @Excel(name = "承包金额")
    private BigDecimal contractorMoney;

    /** 负责人 */
    @Excel(name = "负责人")
    private String charge;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String tel;

    public void setContractorId(Long contractorId) 
    {
        this.contractorId = contractorId;
    }

    public Long getContractorId() 
    {
        return contractorId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setContractorName(String contractorName) 
    {
        this.contractorName = contractorName;
    }

    public String getContractorName() 
    {
        return contractorName;
    }
    public void setContractorMoney(BigDecimal contractorMoney) 
    {
        this.contractorMoney = contractorMoney;
    }

    public BigDecimal getContractorMoney() 
    {
        return contractorMoney;
    }
    public void setCharge(String charge) 
    {
        this.charge = charge;
    }

    public String getCharge() 
    {
        return charge;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractorId", getContractorId())
            .append("projectId", getProjectId())
            .append("contractorName", getContractorName())
            .append("contractorMoney", getContractorMoney())
            .append("charge", getCharge())
            .append("tel", getTel())
            .append("remark", getRemark())
            .toString();
    }
}
